\(\int \frac {\text {arccosh}(a x)}{x^2} \, dx\) [7]

   Optimal result
   Rubi [A] (verified)
   Mathematica [A] (verified)
   Maple [A] (verified)
   Fricas [B] (verification not implemented)
   Sympy [F]
   Maxima [A] (verification not implemented)
   Giac [A] (verification not implemented)
   Mupad [F(-1)]

Optimal result

Integrand size = 8, antiderivative size = 32 \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=-\frac {\text {arccosh}(a x)}{x}+a \arctan \left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \]

[Out]

-arccosh(a*x)/x+a*arctan((a*x-1)^(1/2)*(a*x+1)^(1/2))

Rubi [A] (verified)

Time = 0.01 (sec) , antiderivative size = 32, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.375, Rules used = {5883, 94, 211} \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=a \arctan \left (\sqrt {a x-1} \sqrt {a x+1}\right )-\frac {\text {arccosh}(a x)}{x} \]

[In]

Int[ArcCosh[a*x]/x^2,x]

[Out]

-(ArcCosh[a*x]/x) + a*ArcTan[Sqrt[-1 + a*x]*Sqrt[1 + a*x]]

Rule 94

Int[1/(Sqrt[(a_.) + (b_.)*(x_)]*Sqrt[(c_.) + (d_.)*(x_)]*((e_.) + (f_.)*(x_))), x_Symbol] :> Dist[b*f, Subst[I
nt[1/(d*(b*e - a*f)^2 + b*f^2*x^2), x], x, Sqrt[a + b*x]*Sqrt[c + d*x]], x] /; FreeQ[{a, b, c, d, e, f}, x] &&
 EqQ[2*b*d*e - f*(b*c + a*d), 0]

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 5883

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[(d*x)^(m + 1)*((a + b*ArcC
osh[c*x])^n/(d*(m + 1))), x] - Dist[b*c*(n/(d*(m + 1))), Int[(d*x)^(m + 1)*((a + b*ArcCosh[c*x])^(n - 1)/(Sqrt
[1 + c*x]*Sqrt[-1 + c*x])), x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0] && NeQ[m, -1]

Rubi steps \begin{align*} \text {integral}& = -\frac {\text {arccosh}(a x)}{x}+a \int \frac {1}{x \sqrt {-1+a x} \sqrt {1+a x}} \, dx \\ & = -\frac {\text {arccosh}(a x)}{x}+a^2 \text {Subst}\left (\int \frac {1}{a+a x^2} \, dx,x,\sqrt {-1+a x} \sqrt {1+a x}\right ) \\ & = -\frac {\text {arccosh}(a x)}{x}+a \arctan \left (\sqrt {-1+a x} \sqrt {1+a x}\right ) \\ \end{align*}

Mathematica [A] (verified)

Time = 0.02 (sec) , antiderivative size = 57, normalized size of antiderivative = 1.78 \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=-\frac {\text {arccosh}(a x)}{x}+\frac {a \sqrt {-1+a^2 x^2} \arctan \left (\sqrt {-1+a^2 x^2}\right )}{\sqrt {-1+a x} \sqrt {1+a x}} \]

[In]

Integrate[ArcCosh[a*x]/x^2,x]

[Out]

-(ArcCosh[a*x]/x) + (a*Sqrt[-1 + a^2*x^2]*ArcTan[Sqrt[-1 + a^2*x^2]])/(Sqrt[-1 + a*x]*Sqrt[1 + a*x])

Maple [A] (verified)

Time = 0.04 (sec) , antiderivative size = 51, normalized size of antiderivative = 1.59

method result size
parts \(-\frac {\operatorname {arccosh}\left (a x \right )}{x}-\frac {a \sqrt {a x -1}\, \sqrt {a x +1}\, \arctan \left (\frac {1}{\sqrt {a^{2} x^{2}-1}}\right )}{\sqrt {a^{2} x^{2}-1}}\) \(51\)
derivativedivides \(a \left (-\frac {\operatorname {arccosh}\left (a x \right )}{a x}-\frac {\sqrt {a x -1}\, \sqrt {a x +1}\, \arctan \left (\frac {1}{\sqrt {a^{2} x^{2}-1}}\right )}{\sqrt {a^{2} x^{2}-1}}\right )\) \(55\)
default \(a \left (-\frac {\operatorname {arccosh}\left (a x \right )}{a x}-\frac {\sqrt {a x -1}\, \sqrt {a x +1}\, \arctan \left (\frac {1}{\sqrt {a^{2} x^{2}-1}}\right )}{\sqrt {a^{2} x^{2}-1}}\right )\) \(55\)

[In]

int(arccosh(a*x)/x^2,x,method=_RETURNVERBOSE)

[Out]

-arccosh(a*x)/x-a*(a*x-1)^(1/2)*(a*x+1)^(1/2)/(a^2*x^2-1)^(1/2)*arctan(1/(a^2*x^2-1)^(1/2))

Fricas [B] (verification not implemented)

Leaf count of result is larger than twice the leaf count of optimal. 65 vs. \(2 (28) = 56\).

Time = 0.26 (sec) , antiderivative size = 65, normalized size of antiderivative = 2.03 \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=\frac {2 \, a x \arctan \left (-a x + \sqrt {a^{2} x^{2} - 1}\right ) + {\left (x - 1\right )} \log \left (a x + \sqrt {a^{2} x^{2} - 1}\right ) + x \log \left (-a x + \sqrt {a^{2} x^{2} - 1}\right )}{x} \]

[In]

integrate(arccosh(a*x)/x^2,x, algorithm="fricas")

[Out]

(2*a*x*arctan(-a*x + sqrt(a^2*x^2 - 1)) + (x - 1)*log(a*x + sqrt(a^2*x^2 - 1)) + x*log(-a*x + sqrt(a^2*x^2 - 1
)))/x

Sympy [F]

\[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=\int \frac {\operatorname {acosh}{\left (a x \right )}}{x^{2}}\, dx \]

[In]

integrate(acosh(a*x)/x**2,x)

[Out]

Integral(acosh(a*x)/x**2, x)

Maxima [A] (verification not implemented)

none

Time = 0.33 (sec) , antiderivative size = 22, normalized size of antiderivative = 0.69 \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=-a \arcsin \left (\frac {1}{a {\left | x \right |}}\right ) - \frac {\operatorname {arcosh}\left (a x\right )}{x} \]

[In]

integrate(arccosh(a*x)/x^2,x, algorithm="maxima")

[Out]

-a*arcsin(1/(a*abs(x))) - arccosh(a*x)/x

Giac [A] (verification not implemented)

none

Time = 0.29 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.12 \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=a \arctan \left (\sqrt {a^{2} x^{2} - 1}\right ) - \frac {\log \left (a x + \sqrt {a^{2} x^{2} - 1}\right )}{x} \]

[In]

integrate(arccosh(a*x)/x^2,x, algorithm="giac")

[Out]

a*arctan(sqrt(a^2*x^2 - 1)) - log(a*x + sqrt(a^2*x^2 - 1))/x

Mupad [F(-1)]

Timed out. \[ \int \frac {\text {arccosh}(a x)}{x^2} \, dx=\int \frac {\mathrm {acosh}\left (a\,x\right )}{x^2} \,d x \]

[In]

int(acosh(a*x)/x^2,x)

[Out]

int(acosh(a*x)/x^2, x)